AutoCAD Macros for VBA (2026)
=============================

VBA Macros  (* = No BMP)
------------------------

Angle2.dvb		Measures the angle between lines
Balloon.dvb		Displays Circle with 1 or 2 incremental numbers
Bestfit.dvb*		Measures best-fit centre of a series of points
Dash.dvb		Draws lines between pairs of selected points
Dimension.dvb		Displays the East/West & North/South Dims of an object
Distance2.dvb		Displays Horizontal distance between 2 selected points
ExportXYZ.dvb		Exports selected points to a CSV text file
ImportXYZ.dvb		Imports CSV text-file of points into a drawing
Manhole.dvb*		Draws a Rectangle based on 3 selected points
PointID.dvb		Displays a Textbox of Coordinates at a selected point
Transformation.dvb	Transforms a drawing based upon given parameters of 2 known points
VectorDevs.dvb		Draws error vectors based upon diff of measured point to design

LISP Routines (by others)
-------------------------

3dcircle.lsp		Draws 3D circle from three 3D points
p2blk.vlx		Converts points to a user-defined block


Installation
------------

Unzip the folder to a convenient location.  eg c:\program files\autocad 20xx\Macros 2026

All Macros may be loaded into AutoCAD using the "APPLOAD" command 
and clicking on the "Startup Suite" + "Contents" button to select the
macros required to automatically load each time AutoCAD starts.

All Macros are freely supplied "as-is".

To Run VBA macros:  Type "VBARUN" at the Command line and select the required macro.
To Run LSP routines: Type the name of the Routine eg "3dcircle"


Known issues
------------

The macros are open-source and "should" be backwards compatible with all versions of AutoCAD
after 2012.  If you receive a "Missing Reference" error, 
- Open Visual Basic Editor
- Select "Tools", "References"
- Uncheck any boxes listing "Missing Object Library" (or similar)
- Click OK & Exit.


If you have found a particular macro useful, donations can be made at:
https://www.paypal.com/donate?hosted_button_id=KZVNXYC8FZTZU


Mark Adams
engineeringsurveyor.com@gmail.com

www.EngineeringSurveyor.com (c) 2026